package com.ruoyi.system.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 接口操作日志 接口操作日志对象 st_interface_operation_log
 * 
 * @author shihx
 * @date 2020-02-25
 */
@ApiModel(value="InterfaceOperationLog",description="接口操作日志实体") // 用来描述封装的参数对象与返回的参数对象
@JsonInclude(JsonInclude.Include.NON_NULL)
public class InterfaceOperationLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "主键ID",name="id",required = true,dataType="Long",example="主键ID")
    private Long id;

    /** 服务通知号（服务通知主键） */
    @Excel(name = "服务通知号", readConverterExp = "服务通知主键")
    @ApiModelProperty(value = "服务通知号",name="serviceNo",required = true,dataType="String",example="服务通知号")
    private String serviceNo;

    /** 工程师FSE的主键ID */
    @Excel(name = "工程师FSE的主键ID")
    @ApiModelProperty(value = "工程师FSE的主键ID",name="fseId",required = true,dataType="String",example="工程师FSE的主键ID")
    private String fseId;

    /** 工程师姓名 */
    @Excel(name = "工程师姓名")
    @ApiModelProperty(value = "工程师姓名",name="fseName",required = true,dataType="String",example="工程师姓名")
    private String fseName;

    /** 接口名称 */
    @Excel(name = "接口名称")
    @ApiModelProperty(value = "接口名称",name="interfaceName",required = true,dataType="String",example="接口名称")
    private String interfaceName;

    /** 接口类型 */
    @Excel(name = "接口类型")
    @ApiModelProperty(value = "接口类型",name="interfaceType",required = true,dataType="String",example="接口类型")
    private String interfaceType;

    /** 接口地址 */
    @Excel(name = "接口地址")
    @ApiModelProperty(value = "接口地址",name="interfaceUrl",required = true,dataType="String",example="接口地址")
    private String interfaceUrl;

    /** 接口请求参数 */
    @Excel(name = "接口请求参数")
    @ApiModelProperty(value = "接口请求参数",name="interfaceRequest",required = true,dataType="String",example="接口请求参数")
    private String interfaceRequest;

    /** 请求接口时间 */
    @Excel(name = "请求接口时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "请求接口时间",name="startTime",required = true,dataType="Date",example="请求接口时间")
    private Date startTime;

    /** 接口返回结果 */
    @Excel(name = "接口返回结果")
    @ApiModelProperty(value = "接口返回结果",name="interfaceResponse",required = true,dataType="String",example="接口返回结果")
    private String interfaceResponse;

    /** 接口返回状态 成功、失败 */
    @Excel(name = "接口返回状态 成功、失败")
    @ApiModelProperty(value = "接口返回状态",name="interfaceState",required = true,dataType="String",example="接口返回状态 成功、失败")
    private String interfaceState;

    /** 接口返回结果时间 */
    @Excel(name = "接口返回结果时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "接口返回结果时间",name="endTime",required = true,dataType="Date",example="接口返回结果时间")
    private Date endTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标志",name="delFlag",required = true,dataType="String",example="删除标志（0代表存在 2代表删除）")
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }
    public void setFseId(String fseId) 
    {
        this.fseId = fseId;
    }

    public String getFseId() 
    {
        return fseId;
    }
    public void setFseName(String fseName) 
    {
        this.fseName = fseName;
    }

    public String getFseName() 
    {
        return fseName;
    }
    public void setInterfaceName(String interfaceName) 
    {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceName() 
    {
        return interfaceName;
    }
    public void setInterfaceType(String interfaceType) 
    {
        this.interfaceType = interfaceType;
    }

    public String getInterfaceType() 
    {
        return interfaceType;
    }
    public void setInterfaceUrl(String interfaceUrl) 
    {
        this.interfaceUrl = interfaceUrl;
    }

    public String getInterfaceUrl() 
    {
        return interfaceUrl;
    }
    public void setInterfaceRequest(String interfaceRequest) 
    {
        this.interfaceRequest = interfaceRequest;
    }

    public String getInterfaceRequest() 
    {
        return interfaceRequest;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setInterfaceResponse(String interfaceResponse) 
    {
        this.interfaceResponse = interfaceResponse;
    }

    public String getInterfaceResponse() 
    {
        return interfaceResponse;
    }
    public void setInterfaceState(String interfaceState) 
    {
        this.interfaceState = interfaceState;
    }

    public String getInterfaceState() 
    {
        return interfaceState;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceNo", getServiceNo())
            .append("fseId", getFseId())
            .append("fseName", getFseName())
            .append("interfaceName", getInterfaceName())
            .append("interfaceType", getInterfaceType())
            .append("interfaceUrl", getInterfaceUrl())
            .append("interfaceRequest", getInterfaceRequest())
            .append("startTime", getStartTime())
            .append("interfaceResponse", getInterfaceResponse())
            .append("interfaceState", getInterfaceState())
            .append("endTime", getEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
